<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;



/**
 * Class UserShareCode
 * 
 * @property int $id
 * @property int $uid
 * @property int $goods_id
 * @property int $type
 * @property string|null $url
 *
 * @package App\Models
 */
class UserShareCode extends BaseModels
{
	protected $table = 'zh_user_share_code';
	public $timestamps = false;

	protected $casts = [
		'uid' => 'int'
	];

	const USER_SHARE = 1; //常规分享海报

	const GOODS_SHARE = 2; //商品海报

	protected $fillable = [
		'uid',
        'goods_id',
		'url',
        'type',
	];
}
